﻿using CTP.CRM.Core.PublicMethords;

namespace CTP.CRM.Core
{
    public sealed class HostingStartup : IHostingStartup
    {
        //
        // 摘要:
        //     配置应用启动
        //
        // 参数:
        //   builder:
        public void Configure(IWebHostBuilder builder)
        {
            Console.WriteLine(Environment.NewLine + "-- HostingStartup");
            CTPABPCore.ConfigureApplication(builder);
            Console.WriteLine("-- 当前环境变量：" + Environment.GetEnvironmentVariables().TryToJson());
        }
    }
}
